package zdream.control.profile;

import java.util.HashMap;
import java.util.Map;

import zdream.control.profile.mm.MegaManProfile;

/**
 * @author Zdream
 * @since 0.0.1
 * @date 2022-06-04
 */
public class ProfileManager {
	public final Map<String, IProfile> profiles = new HashMap<>();

	public void init() {
		// TODO
		putProfile(new MegaManProfile());
	}

	public void putProfile(IProfile profile) {
		profiles.put(profile.getName(), profile);
	}

	public IProfile getProfile(String name) {
		return profiles.get(name);
	}
}
